#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreMacrosDefine.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_Drop.nanopb.h"
#ifndef MAX_DROP_LEVELDROP_NUM
#define MAX_DROP_LEVELDROP_NUM 60
#endif

class LevelDropDesc : public NFI_DESC_TEMPLATE_MACRO(LevelDropDesc, E_LevelDrop, EOT_CONST_DROP_LEVELDROP_DESC_ID, MAX_DROP_LEVELDROP_NUM)
public:
	LevelDropDesc();
	virtual ~LevelDropDesc();
	int CreateInit();
	int ResumeInit();
public:
	int Load(NFResDb *pDB) override;
	int LoadDB(NFResDb *pDB) override;
	int CheckWhenAllDataLoaded() override;
};
